import { reactive } from 'vue';
import { type FormRules } from 'sard-uniapp';

export const rules = reactive<FormRules>({
  orderAddress: { required: true, message: '配送地址不能为空', trigger: 'blur' },
  orderTime: { type: 'date', required: true, message: '配送时间不能为空', trigger: 'blur' },
  phone: { required: true, message: '联系电话不能为空', trigger: 'blur' },
  people: { required: true, message: '联系人不能为空', trigger: 'blur' },
});
